<?php
namespace common\models\trade;
use common\models\BaseModel;

/*
	交易订单模型

*/

class TradeOrderModel extends BaseModel
{

	public static function tableName()
	{
		return '{{%trade_order}}';
	}

	public function rules()
	{
		return [
			[['order_type'],'string'],
			[['order_id','mch_id','btype','member_id','invite_id','create_time','goods_id','update_time'],'integer'],
			[['amount','num'],'number'],
		];
	}


}